//
//  ZhiFuCell2.m
//  夺宝吧
//
//  Created by xiaocai on 15/11/27.
//  Copyright © 2015年 FangYuan. All rights reserved.
//

#import "ZhiFuCell2.h"

@implementation ZhiFuCell2

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configureWithModel:(ZhiFuModel *)model{
    
    self.cusImage.image = [UIImage imageNamed:model.imageStr];
    self.cusLabel.text = model.cusLabelStr;
    self.cusDetailLabel.text = model.detailStr;
    self.selectedBtn.selected = model.isSelected;
    
    self.cusDetailLabel.textColor = model.cusLabelColor ? model.cusLabelColor:[UIColor grayColor];
    
}

@end
